package com.oocl.aeat.service.factory;

import com.oocl.aeat.service.VerifyService;
import com.oocl.aeat.service.impl.VerifyServiceImpl;
import com.oocl.aeat.tx.TxProxy;

/**
 * 添加事务
 * @author GANAB
 *
 */
public class VerifyServiceFactory {
	private static VerifyService verifyService;

	private VerifyServiceFactory() {
		
	}
	
	public static VerifyService getInstance(){
		if(verifyService==null){
			verifyService = new VerifyServiceImpl();
			verifyService = (VerifyService)TxProxy.factory(verifyService);
		}
		return verifyService;
	}
}
